package com.example.javabasic.mianshi;

import com.example.javabasic.mianshi.fuzhulei.CreateTreeNode;
import com.example.javabasic.mianshi.fuzhulei.TreeNode;

/**
 * 合为某一值的路径
 */
public class Heweimouyi {
    public static void main(String[] args) {
        TreeNode treeNode = CreateTreeNode.newTree();
        sum(treeNode,0,19);
    }

    public static void sum(TreeNode node,int n,int target){
        if(node ==null){
            return ;
        }
        if(node.left == null && node.right == null && n == target){

        }
    }

}
